package com.xindong.zhitgx.factory;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import androidx.annotation.Nullable;

import com.xindong.zhitgx.R;

import io.flutter.plugin.common.BinaryMessenger;
import io.flutter.plugin.platform.PlatformView;

public class XinDongBeautyToolsView implements PlatformView {
    private final View view;

    XinDongBeautyToolsView(Context context, BinaryMessenger messenger, int id) {
        // 创建你的Android原生View（可以是XML布局文件或自定义绘制的View）
        LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        view = inflater.inflate(R.layout.mh_meiyan, null);
    }

    @Nullable
    @Override
    public View getView() {
        return view;
    }

    @Override
    public void dispose() {

    }
}
